home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 39 / Issue 39.iso / mac / MacSoftware / PageSpinner 3.0.sea / PageSpinner 3.0 / Examples / JavaScript / Todays Link Example < prev    next >
MacBinary  |  2000-08-04  |  5.4 KB  |  [TEXT/JyWs]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Aug 4 11:35:10 2000, modified Fri Aug 4 11:35:10 2000, creator 'JyWs', type ASCII, 3326 bytes "Todays Link Example" , at 0xd7e 1974 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default
100% xdgMime text/html default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[JyWs]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 54 6f 64 61 79 73 | 20 4c 69 6e 6b 20 45 78 |..Todays| Link Ex|
|00000010| 61 6d 70 6c 65 00 00 00 | 00 00 00 00 00 00 00 00 |ample...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4a 79 57 | 73 00 00 00 00 00 00 00 |.TEXTJyW|s.......|
|00000050| 00 00 00 00 00 0c fe 00 | 00 07 b6 b5 b0 93 2e b5 |........|........|
|00000060| b0 93 2e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7d b2 00 00 |........|....}...|
|00000080| 3c 48 54 4d 4c 3e 3c 48 | 45 41 44 3e 0d 3c 54 49 |<HTML><H|EAD>.<TI|
|00000090| 54 4c 45 3e 4a 61 76 61 | 53 63 72 69 70 74 20 54 |TLE>Java|Script T|
|000000a0| 6f 64 61 79 27 73 20 4c | 69 6e 6b 3c 2f 54 49 54 |oday's L|ink</TIT|
|000000b0| 4c 45 3e 0d 0d 3c 53 43 | 52 49 50 54 20 4c 41 4e |LE>..<SC|RIPT LAN|
|000000c0| 47 55 41 47 45 3d 22 4a | 61 76 61 53 63 72 69 70 |GUAGE="J|avaScrip|
|000000d0| 74 22 20 74 79 70 65 3d | 22 74 65 78 74 2f 6a 61 |t" type=|"text/ja|
|000000e0| 76 61 73 63 72 69 70 74 | 22 3e 0d 3c 21 2d 2d 20 |vascript|">.<!-- |
|000000f0| 0d 2f 2a 20 0d 09 54 6f | 64 61 79 73 20 4c 69 6e |./* ..To|days Lin|
|00000100| 6b 0d 09 57 72 69 74 74 | 65 6e 20 62 79 20 4a 65 |k..Writt|en by Je|
|00000110| 72 72 79 20 41 6d 61 6e | 2c 20 4f 70 74 69 6d 61 |rry Aman|, Optima|
|00000120| 20 53 79 73 74 65 6d 2c | 20 4a 75 6c 79 20 32 38 | System,| July 28|
|00000130| 2c 20 31 39 39 36 2e 0d | 09 50 61 72 74 20 6f 66 |, 1996..|.Part of|
|00000140| 20 74 68 65 20 50 61 67 | 65 53 70 69 6e 6e 65 72 | the Pag|eSpinner|
|00000150| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 2e 0d 09 | distrib|ution...|
|00000160| 0d 09 55 70 64 61 74 65 | 64 20 4f 63 74 6f 62 65 |..Update|d Octobe|
|00000170| 72 20 39 2c 20 31 39 39 | 37 2e 0d 09 57 65 20 77 |r 9, 199|7...We w|
|00000180| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 68 65 6c 64 20 |ill not |be held |
|00000190| 72 65 73 70 6f 6e 73 69 | 62 6c 65 20 66 6f 72 20 |responsi|ble for |
|000001a0| 61 6e 79 20 75 6e 77 61 | 6e 74 65 64 20 0d 09 65 |any unwa|nted ..e|
|000001b0| 66 66 65 63 74 73 20 64 | 75 65 20 74 6f 20 74 68 |ffects d|ue to th|
|000001c0| 65 20 75 73 61 67 65 20 | 6f 66 20 74 68 69 73 20 |e usage |of this |
|000001d0| 73 63 72 69 70 74 20 6f | 72 20 61 6e 79 20 64 65 |script o|r any de|
|000001e0| 72 69 76 61 74 69 76 65 | 2e 20 20 0d 09 4e 6f 20 |rivative|. ..No |
|000001f0| 77 61 72 72 61 6e 74 65 | 65 73 20 66 6f 72 20 75 |warrante|es for u|
|00000200| 73 61 62 69 6c 69 74 79 | 20 66 6f 72 20 61 6e 79 |sability| for any|
|00000210| 20 73 70 65 63 69 66 69 | 63 20 61 70 70 6c 69 63 | specifi|c applic|
|00000220| 61 74 69 6f 6e 20 0d 09 | 61 72 65 20 67 69 76 65 |ation ..|are give|
|00000230| 6e 20 6f 72 20 69 6d 70 | 6c 69 65 64 2e 0d 0d 09 |n or imp|lied....|
|00000240| 59 6f 75 20 61 72 65 20 | 66 72 65 65 20 74 6f 20 |You are |free to |
|00000250| 75 73 65 20 61 6e 64 20 | 6d 6f 64 69 66 79 20 74 |use and |modify t|
|00000260| 68 69 73 20 73 63 72 69 | 70 74 2c 0d 09 69 66 20 |his scri|pt,..if |
|00000270| 61 6c 6c 20 63 72 65 64 | 69 74 73 20 61 72 65 20 |all cred|its are |
|00000280| 6b 65 70 74 20 69 6e 20 | 74 68 65 20 73 6f 75 72 |kept in |the sour|
|00000290| 63 65 20 63 6f 64 65 0d | 2a 2f 0d 0d 0d 66 75 6e |ce code.|*/...fun|
|000002a0| 63 74 69 6f 6e 20 47 65 | 74 54 6f 64 61 79 73 55 |ction Ge|tTodaysU|
|000002b0| 52 4c 28 29 0d 7b 0d 09 | 2f 2f 20 50 75 74 20 72 |RL().{..|// Put r|
|000002c0| 65 6c 61 74 69 76 65 20 | 6f 72 20 66 75 6c 6c 20 |elative |or full |
|000002d0| 55 52 4c 27 73 20 69 6e | 20 74 68 65 20 73 74 72 |URL's in| the str|
|000002e0| 69 6e 67 73 20 62 65 6c | 6f 77 0d 09 2f 2f 20 46 |ings bel|ow..// F|
|000002f0| 69 72 73 74 20 6c 69 6e | 65 20 69 73 20 72 65 74 |irst lin|e is ret|
|00000300| 75 72 6e 65 64 20 6f 6e | 20 4d 6f 6e 64 61 79 73 |urned on| Mondays|
|00000310| 2c 20 73 65 63 6f 6e 64 | 20 6f 6e 20 54 75 65 73 |, second| on Tues|
|00000320| 64 61 79 73 20 2e 2e 2e | 20 0d 09 2f 2f 20 2e 2e |days ...| ..// ..|
|00000330| 2e 20 61 6e 64 20 74 68 | 65 20 73 65 76 65 6e 74 |. and th|e sevent|
|00000340| 68 20 6f 6e 20 53 75 6e | 64 61 79 73 0d 0d 76 61 |h on Sun|days..va|
|00000350| 72 20 6c 6f 63 61 74 69 | 6f 6e 6c 69 73 74 20 3d |r locati|onlist =|
|00000360| 20 6e 65 77 20 55 52 4c | 4c 69 73 74 20 0d 28 0d | new URL|List .(.|
|00000370| 09 22 67 72 6f 75 63 68 | 6f 2e 68 74 6d 6c 22 2c |."grouch|o.html",|
|00000380| 09 09 2f 2f 20 4d 6f 6e | 64 61 79 0d 09 22 68 61 |..// Mon|day.."ha|
|00000390| 72 70 6f 2e 68 74 6d 6c | 22 2c 09 09 2f 2f 20 54 |rpo.html|",..// T|
|000003a0| 75 65 73 64 61 79 0d 09 | 22 7a 65 70 70 6f 2e 68 |uesday..|"zeppo.h|
|000003b0| 74 6d 6c 22 2c 09 09 09 | 0d 09 22 63 68 69 63 6f |tml",...|.."chico|
|000003c0| 2e 68 74 6d 6c 22 2c 09 | 09 09 0d 09 22 68 61 72 |.html",.|...."har|
|000003d0| 70 6f 2e 68 74 6d 6c 22 | 2c 09 09 09 0d 09 22 67 |po.html"|,....."g|
|000003e0| 72 6f 75 63 68 6f 2e 68 | 74 6d 6c 22 2c 0d 09 22 |roucho.h|tml",.."|
|000003f0| 63 68 69 63 6f 2e 68 74 | 6d 6c 22 09 09 2f 2f 20 |chico.ht|ml"..// |
|00000400| 53 75 6e 64 61 79 0d 29 | 3b 0d 0d 09 6e 6f 77 20 |Sunday.)|;...now |
|00000410| 3d 20 6e 65 77 20 44 61 | 74 65 28 29 3b 0d 0d 09 |= new Da|te();...|
|00000420| 6e 75 6d 20 3d 20 6e 6f | 77 2e 67 65 74 44 61 79 |num = no|w.getDay|
|00000430| 28 29 3b 0d 09 09 69 66 | 20 28 6e 75 6d 20 3d 3d |();...if| (num ==|
|00000440| 20 30 29 0d 09 09 09 6e | 75 6d 20 3d 20 37 3b 0d | 0)....n|um = 7;.|
|00000450| 0d 09 6c 6f 63 61 74 69 | 6f 6e 2e 68 72 65 66 20 |..locati|on.href |
|00000460| 3d 20 6c 6f 63 61 74 69 | 6f 6e 6c 69 73 74 2e 6c |= locati|onlist.l|
|00000470| 69 73 74 5b 6e 75 6d 2d | 31 5d 3b 0d 0d 7d 0d 0d |ist[num-|1];..}..|
|00000480| 66 75 6e 63 74 69 6f 6e | 20 55 52 4c 4c 69 73 74 |function| URLList|
|00000490| 20 28 29 0d 7b 0d 09 76 | 61 72 20 61 72 67 76 20 | ().{..v|ar argv |
|000004a0| 3d 20 55 52 4c 4c 69 73 | 74 2e 61 72 67 75 6d 65 |= URLLis|t.argume|
|000004b0| 6e 74 73 3b 0d 09 76 61 | 72 20 61 72 67 63 20 3d |nts;..va|r argc =|
|000004c0| 20 61 72 67 76 2e 6c 65 | 6e 67 74 68 3b 0d 09 74 | argv.le|ngth;..t|
|000004d0| 68 69 73 2e 6c 69 73 74 | 20 3d 20 6e 65 77 20 4f |his.list| = new O|
|000004e0| 62 6a 65 63 74 28 29 3b | 0d 09 66 6f 72 20 28 76 |bject();|..for (v|
|000004f0| 61 72 20 69 20 3d 20 30 | 3b 20 69 20 3c 20 61 72 |ar i = 0|; i < ar|
|00000500| 67 63 3b 20 69 2b 2b 29 | 0d 09 74 68 69 73 2e 6c |gc; i++)|..this.l|
|00000510| 69 73 74 5b 69 5d 20 3d | 20 61 72 67 76 5b 69 5d |ist[i] =| argv[i]|
|00000520| 3b 0d 09 74 68 69 73 2e | 63 6f 75 6e 74 20 3d 20 |;..this.|count = |
|00000530| 61 72 67 63 3b 0d 09 72 | 65 74 75 72 6e 20 74 68 |argc;..r|eturn th|
|00000540| 69 73 3b 0d 7d 0d 0d 2f | 2f 20 2d 2d 3e 0d 3c 2f |is;.}../|/ -->.</|
|00000550| 53 43 52 49 50 54 3e 0d | 0d 3c 2f 48 45 41 44 3e |SCRIPT>.|.</HEAD>|
|00000560| 0d 3c 42 4f 44 59 20 42 | 47 43 4f 4c 4f 52 3d 46 |.<BODY B|GCOLOR=F|
|00000570| 46 46 46 46 46 20 54 45 | 58 54 3d 30 30 30 30 30 |FFFFF TE|XT=00000|
|00000580| 30 3e 0d 3c 48 31 3e 4a | 61 76 61 53 63 72 69 70 |0>.<H1>J|avaScrip|
|00000590| 74 20 54 6f 64 61 79 27 | 73 20 4c 69 6e 6b 3c 2f |t Today'|s Link</|
|000005a0| 48 31 3e 0d 0d 3c 42 3e | 54 68 69 73 20 70 61 67 |H1>..<B>|This pag|
|000005b0| 65 20 63 6f 6e 74 61 69 | 6e 73 20 61 20 4a 61 76 |e contai|ns a Jav|
|000005c0| 61 53 63 72 69 70 74 20 | 74 68 61 74 20 73 65 6c |aScript |that sel|
|000005d0| 65 63 74 73 20 61 20 64 | 69 66 66 65 72 65 6e 74 |ects a d|ifferent|
|000005e0| 20 55 52 4c 20 66 6f 72 | 20 65 61 63 68 20 64 61 | URL for| each da|
|000005f0| 79 20 6f 66 20 74 68 65 | 0d 77 65 65 6b 3c 2f 42 |y of the|.week</B|
|00000600| 3e 0d 3c 50 3e 0d 50 6c | 65 61 73 65 20 6e 6f 74 |>.<P>.Pl|ease not|
|00000610| 65 20 74 68 61 74 20 4a | 61 76 61 53 63 72 69 70 |e that J|avaScrip|
|00000620| 74 20 69 73 20 63 75 72 | 72 65 6e 74 6c 79 20 6f |t is cur|rently o|
|00000630| 6e 6c 79 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e |nly avai|lable in|
|00000640| 20 4e 65 74 73 63 61 70 | 65 20 4e 61 76 69 67 61 | Netscap|e Naviga|
|00000650| 74 6f 72 20 32 2e 30 20 | 6f 72 20 6c 61 74 65 72 |tor 2.0 |or later|
|00000660| 2c 20 61 6e 64 20 69 6e | 20 49 6e 74 65 72 6e 65 |, and in| Interne|
|00000670| 74 20 45 78 70 6c 6f 72 | 65 72 20 66 6f 72 20 4d |t Explor|er for M|
|00000680| 61 63 4f 53 20 76 65 72 | 73 69 6f 6e 20 33 2e 30 |acOS ver|sion 3.0|
|00000690| 2e 31 20 6f 72 20 6c 61 | 74 65 72 2e 20 3c 46 4f |.1 or la|ter. <FO|
|000006a0| 4e 54 20 43 4f 4c 4f 52 | 3d 22 39 33 31 42 31 35 |NT COLOR|="931B15|
|000006b0| 22 3e 44 6f 20 6e 6f 74 | 20 61 73 73 75 6d 65 20 |">Do not| assume |
|000006c0| 74 68 61 74 20 61 6c 6c | 20 69 6e 20 79 6f 75 72 |that all| in your|
|000006d0| 20 61 75 64 69 65 6e 63 | 65 20 61 72 65 20 75 73 | audienc|e are us|
|000006e0| 69 6e 67 20 61 20 4a 61 | 76 61 53 63 72 69 70 74 |ing a Ja|vaScript|
|000006f0| 20 65 6e 61 62 6c 65 64 | 20 62 72 6f 77 73 65 72 | enabled| browser|
|00000700| 2e 3c 2f 46 4f 4e 54 3e | 0d 3c 48 52 3e 0d 3c 50 |.</FONT>|.<HR>.<P|
|00000710| 3e 0d 54 68 69 73 20 4a | 61 76 61 53 63 72 69 70 |>.This J|avaScrip|
|00000720| 74 20 6c 65 74 73 20 79 | 6f 75 20 70 72 65 73 65 |t lets y|ou prese|
|00000730| 6e 74 20 61 20 64 69 66 | 66 65 72 65 6e 74 20 6c |nt a dif|ferent l|
|00000740| 69 6e 6b 20 74 6f 20 61 | 20 64 69 66 66 65 72 65 |ink to a| differe|
|00000750| 6e 74 20 64 6f 63 75 6d | 65 6e 74 20 55 52 4c 20 |nt docum|ent URL |
|00000760| 66 6f 72 20 65 61 63 68 | 20 64 61 79 20 6f 66 20 |for each| day of |
|00000770| 74 68 65 20 77 65 65 6b | 2e 20 0d 0d 3c 50 3e 0d |the week|. ..<P>.|
|00000780| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 69 73 |You can |use this|
|00000790| 20 74 6f 20 64 69 72 65 | 63 74 20 79 6f 75 72 20 | to dire|ct your |
|000007a0| 72 65 61 64 65 72 73 20 | 74 6f 20 61 20 64 69 66 |readers |to a dif|
|000007b0| 66 65 72 65 6e 74 20 73 | 69 74 65 20 65 61 63 68 |ferent s|ite each|
|000007c0| 20 64 61 79 20 6f 66 20 | 74 68 65 20 77 65 65 6b | day of |the week|
|000007d0| 2c 20 6f 72 20 69 66 20 | 79 6f 75 20 72 75 6e 20 |, or if |you run |
|000007e0| 61 20 64 61 69 6c 79 20 | 6e 65 77 73 6c 65 74 74 |a daily |newslett|
|000007f0| 65 72 20 79 6f 75 20 63 | 61 6e 20 75 73 65 20 69 |er you c|an use i|
|00000800| 74 20 74 6f 20 6c 65 74 | 20 72 65 61 64 65 72 73 |t to let| readers|
|00000810| 20 74 6f 20 67 6f 20 74 | 6f 20 61 20 73 70 65 63 | to go t|o a spec|
|00000820| 69 66 69 63 20 66 69 6c | 65 20 64 65 70 65 6e 64 |ific fil|e depend|
|00000830| 69 6e 67 20 6f 6e 20 74 | 68 65 20 64 61 79 20 6f |ing on t|he day o|
|00000840| 66 20 74 68 65 20 77 65 | 65 6b 2e 0d 0d 3c 50 3e |f the we|ek...<P>|
|00000850| 0d 54 68 65 20 73 63 72 | 69 70 74 20 69 73 20 6e |.The scr|ipt is n|
|00000860| 61 6d 65 64 20 3c 42 3e | 47 65 74 54 6f 64 61 79 |amed <B>|GetToday|
|00000870| 73 55 52 4c 3c 2f 42 3e | 20 61 6e 64 20 69 74 20 |sURL</B>| and it |
|00000880| 69 73 20 70 6c 61 63 65 | 64 20 69 6e 20 74 68 65 |is place|d in the|
|00000890| 20 48 45 41 44 20 73 65 | 63 74 69 6f 6e 20 6f 66 | HEAD se|ction of|
|000008a0| 20 74 68 65 20 48 54 4d | 4c 20 64 6f 63 75 6d 65 | the HTM|L docume|
|000008b0| 6e 74 2e 20 54 68 65 20 | 73 63 72 69 70 74 20 69 |nt. The |script i|
|000008c0| 73 20 65 78 65 63 75 74 | 65 64 20 62 79 20 63 6c |s execut|ed by cl|
|000008d0| 69 63 6b 69 6e 67 20 6f | 6e 20 61 20 6c 69 6e 6b |icking o|n a link|
|000008e0| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 61 20 63 61 | contain|ing a ca|
|000008f0| 6c 6c 20 74 6f 20 47 65 | 74 54 6f 64 61 79 73 55 |ll to Ge|tTodaysU|
|00000900| 52 4c 28 29 2e 20 41 6c | 73 6f 20 6e 6f 74 65 20 |RL(). Al|so note |
|00000910| 74 68 65 20 3c 46 4f 4e | 54 20 43 4f 4c 4f 52 3d |the <FON|T COLOR=|
|00000920| 22 46 46 33 33 36 36 22 | 3e 63 75 73 74 6f 6d 20 |"FF3366"|>custom |
|00000930| 74 65 78 74 3c 2f 46 4f | 4e 54 3e 20 69 6e 20 4e |text</FO|NT> in N|
|00000940| 65 74 73 63 61 70 65 27 | 73 20 73 74 61 74 75 73 |etscape'|s status|
|00000950| 20 61 72 65 61 2e 0d 0d | 3c 50 3e 0d 45 78 61 6d | area...|<P>.Exam|
|00000960| 70 6c 65 20 6f 66 20 74 | 68 69 73 20 73 63 72 69 |ple of t|his scri|
|00000970| 70 74 20 70 69 63 6b 69 | 6e 67 20 20 0d 3c 41 20 |pt picki|ng .<A |
|00000980| 48 52 45 46 3d 22 6a 61 | 76 61 73 63 72 69 70 74 |HREF="ja|vascript|
|00000990| 3a 47 65 74 54 6f 64 61 | 79 73 55 52 4c 28 29 22 |:GetToda|ysURL()"|
|000009a0| 0d 20 6f 6e 4d 6f 75 73 | 65 4f 76 65 72 3d 22 77 |. onMous|eOver="w|
|000009b0| 69 6e 64 6f 77 2e 73 74 | 61 74 75 73 3d 27 54 68 |indow.st|atus='Th|
|000009c0| 69 73 20 6c 69 6e 6b 20 | 74 61 6b 65 73 20 79 6f |is link |takes yo|
|000009d0| 75 20 74 68 65 20 70 61 | 67 65 20 6f 66 20 74 68 |u the pa|ge of th|
|000009e0| 65 20 64 61 79 21 27 3b | 20 72 65 74 75 72 6e 20 |e day!';| return |
|000009f0| 74 72 75 65 22 3e 74 6f | 64 61 79 73 3c 2f 41 3e |true">to|days</A>|
|00000a00| 20 70 61 67 65 2e 20 41 | 6e 6f 74 68 65 72 20 70 | page. A|nother p|
|00000a10| 61 67 65 20 77 69 6c 6c | 20 62 65 20 64 69 73 70 |age will| be disp|
|00000a20| 6c 61 79 65 64 20 74 6f | 6d 6f 72 72 6f 77 2e 0d |layed to|morrow..|
|00000a30| 0d 0d 3c 50 3e 0d 3c 42 | 3e 48 6f 77 20 74 6f 20 |..<P>.<B|>How to |
|00000a40| 75 73 65 3a 3c 2f 42 3e | 3c 42 52 3e 0d 52 65 70 |use:</B>|<BR>.Rep|
|00000a50| 6c 61 63 65 20 74 68 65 | 20 66 69 6c 65 6e 61 6d |lace the| filenam|
|00000a60| 65 73 20 69 6e 73 69 64 | 65 20 74 68 65 20 73 63 |es insid|e the sc|
|00000a70| 72 69 70 74 20 77 69 74 | 68 20 79 6f 75 72 20 6f |ript wit|h your o|
|00000a80| 77 6e 20 55 52 4c 73 20 | 61 6e 64 20 65 64 69 74 |wn URLs |and edit|
|00000a90| 20 74 68 69 73 20 70 61 | 67 65 20 63 6f 6e 74 65 | this pa|ge conte|
|00000aa0| 6e 74 73 20 69 6e 73 69 | 64 65 20 74 68 65 20 26 |nts insi|de the &|
|00000ab0| 6c 74 3b 42 4f 44 59 26 | 67 74 3b 20 73 65 63 74 |lt;BODY&|gt; sect|
|00000ac0| 69 6f 6e 2e 20 28 59 6f | 75 20 63 61 6e 20 61 6c |ion. (Yo|u can al|
|00000ad0| 73 6f 20 63 6f 70 79 20 | 74 68 65 20 65 6e 74 69 |so copy |the enti|
|00000ae0| 72 65 20 73 63 72 69 70 | 74 20 74 6f 20 6f 6e 65 |re scrip|t to one|
|00000af0| 20 6f 66 20 79 6f 75 72 | 20 65 78 69 73 74 69 6e | of your| existin|
|00000b00| 67 20 70 61 67 65 73 29 | 2e 0d 0d 3c 50 3e 0d 3c |g pages)|...<P>.<|
|00000b10| 50 52 45 3e 66 75 6e 63 | 74 69 6f 6e 20 47 65 74 |PRE>func|tion Get|
|00000b20| 54 6f 64 61 79 73 55 52 | 4c 28 29 0d 7b 0d 09 2f |TodaysUR|L().{../|
|00000b30| 2f 20 50 75 74 20 72 65 | 6c 61 74 69 76 65 20 6f |/ Put re|lative o|
|00000b40| 72 20 66 75 6c 6c 20 55 | 52 4c 27 73 20 69 6e 20 |r full U|RL's in |
|00000b50| 74 68 65 20 73 74 72 69 | 6e 67 73 20 62 65 6c 6f |the stri|ngs belo|
|00000b60| 77 0d 09 2f 2f 20 46 69 | 72 73 74 20 6c 69 6e 65 |w..// Fi|rst line|
|00000b70| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 6f 6e 20 | is retu|rned on |
|00000b80| 4d 6f 6e 64 61 79 73 2c | 20 73 65 63 6f 6e 64 20 |Mondays,| second |
|00000b90| 6f 6e 20 54 75 65 73 64 | 61 79 73 20 2e 2e 2e 20 |on Tuesd|ays ... |
|00000ba0| 0d 09 2f 2f 20 2e 2e 2e | 20 61 6e 64 20 74 68 65 |..// ...| and the|
|00000bb0| 20 73 65 76 65 6e 74 68 | 20 6f 6e 20 53 75 6e 64 | seventh| on Sund|
|00000bc0| 61 79 73 0d 0d 76 61 72 | 20 6c 6f 63 61 74 69 6f |ays..var| locatio|
|00000bd0| 6e 6c 69 73 74 20 3d 20 | 6e 65 77 20 55 52 4c 4c |nlist = |new URLL|
|00000be0| 69 73 74 20 0d 28 0d 09 | 22 67 72 6f 75 63 68 6f |ist .(..|"groucho|
|00000bf0| 2e 68 74 6d 6c 22 2c 09 | 09 2f 2f 20 4d 6f 6e 64 |.html",.|.// Mond|
|00000c00| 61 79 0d 09 22 68 61 72 | 70 6f 2e 68 74 6d 6c 22 |ay.."har|po.html"|
|00000c10| 2c 09 09 2f 2f 20 54 75 | 65 73 64 61 79 0d 09 22 |,..// Tu|esday.."|
|00000c20| 7a 65 70 70 6f 2e 68 74 | 6d 6c 22 2c 09 09 09 0d |zeppo.ht|ml",....|
|00000c30| 09 22 63 68 69 63 6f 2e | 68 74 6d 6c 22 2c 09 09 |."chico.|html",..|
|00000c40| 09 0d 09 22 68 61 72 70 | 6f 2e 68 74 6d 6c 22 2c |..."harp|o.html",|
|00000c50| 09 09 09 0d 09 22 67 72 | 6f 75 63 68 6f 2e 68 74 |....."gr|oucho.ht|
|00000c60| 6d 6c 22 2c 0d 09 22 63 | 68 69 63 6f 2e 68 74 6d |ml",.."c|hico.htm|
|00000c70| 6c 22 09 09 2f 2f 20 53 | 75 6e 64 61 79 0d 29 3b |l"..// S|unday.);|
|00000c80| 3c 2f 50 52 45 3e 0d 0d | 3c 50 3e 0d 55 73 65 20 |</PRE>..|<P>.Use |
|00000c90| 63 6f 64 65 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |code sim|ilar to |
|00000ca0| 74 68 69 73 20 74 6f 20 | 6c 65 74 20 74 68 65 20 |this to |let the |
|00000cb0| 75 73 65 72 20 65 78 65 | 63 75 74 65 20 74 68 65 |user exe|cute the|
|00000cc0| 20 73 63 72 69 70 74 3a | 0d 3c 50 3e 0d 3c 50 52 | script:|.<P>.<PR|
|00000cd0| 45 3e 26 6c 74 3b 41 20 | 48 52 45 46 3d 22 6a 61 |E>&lt;A |HREF="ja|
|00000ce0| 76 61 73 63 72 69 70 74 | 3a 47 65 74 54 6f 64 61 |vascript|:GetToda|
|00000cf0| 79 73 55 52 4c 28 29 22 | 0d 20 6f 6e 4d 6f 75 73 |ysURL()"|. onMous|
|00000d00| 65 4f 76 65 72 3d 22 77 | 69 6e 64 6f 77 2e 73 74 |eOver="w|indow.st|
|00000d10| 61 74 75 73 3d 27 54 68 | 69 73 20 6c 69 6e 6b 20 |atus='Th|is link |
|00000d20| 74 61 6b 65 73 20 79 6f | 75 20 74 68 65 20 70 61 |takes yo|u the pa|
|00000d30| 67 65 20 6f 66 20 74 68 | 65 20 64 61 79 21 27 3b |ge of th|e day!';|
|00000d40| 20 72 65 74 75 72 6e 20 | 74 72 75 65 22 26 67 74 | return |true"&gt|
|00000d50| 3b 54 6f 64 61 79 73 20 | 70 61 67 65 26 6c 74 3b |;Todays |page&lt;|
|00000d60| 2f 41 26 67 74 3b 3c 2f | 50 52 45 3e 0d 0d 3c 2f |/A&gt;</|PRE>..</|
|00000d70| 42 4f 44 59 3e 0d 3c 2f | 48 54 4d 4c 3e 0d 00 00 |BODY>.</|HTML>...|
|00000d80| 00 00 01 00 00 00 07 34 | 00 00 06 34 00 00 00 82 |.......4|...4....|
|00000d90| 60 3a 1f 2e ff f0 1f 2e | ff f1 2f 0b 2f 39 ff fe |`:......|.././9..|
|00000da0| bf 1c 20 79 ff fe bf 1c | 20 50 20 68 00 54 4e 90 |.. y....| P h.TN.|
|00000db0| 13 54 6f 64 61 79 73 20 | 4c 69 6e 6b 20 45 78 61 |.Todays |Link Exa|
|00000dc0| 6d 70 6c 65 50 20 28 75 | 74 73 6b 72 69 66 74 29 |mpleP (u|tskrift)|
|00000dd0| 00 00 54 45 58 54 4a 79 | 57 73 01 00 ff ff ff ff |..TEXTJy|Ws......|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 ad c4 ca 34 00 00 | 0d 28 00 00 09 b0 2f 0a |.....4..|.(..../.|
|00000e00| 4e b9 00 00 04 82 20 0a | 24 5f 4e 5e 4e 74 00 08 |N..... .|$_N^Nt..|
|00000e10| 4e 56 00 00 2f 0a 24 6e | 00 08 42 67 2f 0a 4e b9 |NV../.$n|..Bg/.N.|
|00000e20| 00 00 11 82 20 79 ff fe | c2 7c 24 88 25 6e 00 0c |.... y..|.|$.%n..|
|00000e30| 00 08 20 0a 24 5f 4e 5e | 4e 74 00 08 4e 56 00 00 |.. .$_N^|Nt..NV..|
|00000e40| 48 e7 00 28 28 6e 00 08 | 20 79 ff fe c2 7c 28 88 |H..((n..| y...|(.|
|00000e50| 24 6c 00 08 70 6c d5 c0 | 20 52 b1 cc 66 04 70 00 |$l..pl..| R..f.p.|
|00000e60| 24 80 20 79 ff fe c2 80 | 28 88 2f 0c 4e b9 00 00 |$. y....|(./.N...|
|00000e70| 06 a2 4c df 14 00 4e 5e | 4e 74 00 04 4e 56 ff fc |..L...N^|Nt..NV..|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 06 1a 00 4e 00 00 |........|.....N..|
|00000e90| 00 00 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00000ea0| 55 55 00 00 00 0c 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 0d 00 0c 00 0a 00 03 |........|........|
|00000ec0| 00 00 00 09 55 56 55 55 | 55 55 00 00 00 14 00 0e |....UVUU|UU......|
|00000ed0| 00 0a 00 10 01 00 00 0c | 22 14 61 af 2f 51 00 00 |........|".a./Q..|
|00000ee0| 00 2b 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.+......|....UVUU|
|00000ef0| 55 55 00 00 00 33 00 0e | 00 0a 00 10 00 00 00 0c |UU...3..|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 35 00 0c 00 0a 00 03 |........|.5......|
|00000f10| 00 00 00 09 55 56 55 55 | 55 55 00 00 00 6a 00 0b |....UVUU|UU...j..|
|00000f20| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 6b 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.k......|....UVUU|
|00000f40| 55 55 00 00 00 6f 00 0b | 00 09 00 04 00 00 00 09 |UU...o..|........|
|00000f50| 00 00 00 00 00 00 00 00 | 04 ca 00 0c 00 0a 00 03 |........|........|
|00000f60| 00 00 00 09 55 56 55 55 | 55 55 00 00 04 cd 00 0b |....UVUU|UU......|
|00000f70| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 04 ce 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00000f90| 55 55 00 00 04 d7 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 04 d9 00 0c 00 0a 00 03 |........|........|
|00000fb0| 00 00 00 09 55 56 55 55 | 55 55 00 00 04 e0 00 0e |....UVUU|UU......|
|00000fc0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 04 e1 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00000fe0| 55 55 00 00 05 02 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 05 03 00 0c 00 0a 00 03 |........|........|
|00001000| 00 00 00 09 55 56 55 55 | 55 55 00 00 05 07 00 19 |....UVUU|UU......|
|00001010| 00 12 00 10 01 00 00 18 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 05 1e 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001030| 55 55 00 00 05 23 00 0e | 00 0a 00 10 00 00 00 0c |UU...#..|........|
|00001040| 00 00 00 00 00 00 00 00 | 05 25 00 0c 00 0a 00 03 |........|.%......|
|00001050| 00 00 00 09 55 56 55 55 | 55 55 00 00 05 28 00 0e |....UVUU|UU...(..|
|00001060| 00 0a 00 10 01 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 05 7d 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.}......|....UVUU|
|00001080| 55 55 00 00 05 81 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00001090| 00 00 00 00 00 00 00 00 | 05 82 00 0c 00 0a 00 03 |........|........|
|000010a0| 00 00 00 09 55 56 55 55 | 55 55 00 00 05 85 00 0e |....UVUU|UU......|
|000010b0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 06 1d 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|000010d0| 55 55 00 00 06 32 00 0e | 00 0a 00 10 00 00 00 0c |UU...2..|........|
|000010e0| 00 00 00 00 00 00 00 00 | 06 81 00 0c 00 0a 00 03 |........|........|
|000010f0| 00 00 00 09 55 56 55 55 | 55 55 00 00 06 88 00 0e |....UVUU|UU......|
|00001100| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 06 89 00 0c 00 0a 00 03 | 00 00 00 09 00 01 00 01 |........|........|
|00001120| 00 01 00 00 06 8d 00 0e | 00 0a 00 10 00 00 00 0c |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 06 8e 00 0c 00 0a 00 03 |........|........|
|00001140| 00 00 00 09 55 56 55 55 | 55 55 00 00 06 91 00 0e |....UVUU|UU......|
|00001150| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 06 fc 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001170| 55 55 00 00 06 ff 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00001180| 00 00 00 00 00 00 00 00 | 07 cd 00 0c 00 0a 00 03 |........|........|
|00001190| 00 00 00 09 55 56 55 55 | 55 55 00 00 07 d0 00 0e |....UVUU|UU......|
|000011a0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 07 e5 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|000011c0| 55 55 00 00 07 e8 00 0e | 00 0a 00 10 01 00 00 0c |UU......|........|
|000011d0| 00 00 00 00 00 00 00 00 | 07 f4 00 0c 00 0a 00 03 |........|........|
|000011e0| 00 00 00 09 55 56 55 55 | 55 55 00 00 07 f8 00 0e |....UVUU|UU......|
|000011f0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 08 94 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001210| 55 55 00 00 08 a9 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00001220| 00 00 00 00 00 00 00 00 | 08 b4 00 0c 00 0a 00 03 |........|........|
|00001230| 00 00 00 09 55 56 55 55 | 55 55 00 00 08 bb 00 0e |....UVUU|UU......|
|00001240| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 08 d8 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001260| 55 55 00 00 08 db 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00001270| 00 00 00 00 00 00 00 00 | 08 fd 00 0c 00 0a 00 03 |........|........|
|00001280| 00 00 00 09 00 01 33 33 | 99 99 00 00 09 76 00 0e |......33|.....v..|
|00001290| 00 0a 00 10 04 00 00 0c | 00 00 00 00 dd dd 00 00 |........|........|
|000012a0| 09 7c 00 0c 00 0a 00 03 | 00 00 00 09 00 01 33 33 |.|......|......33|
|000012b0| 99 99 00 00 09 80 00 0e | 00 0a 00 10 00 00 00 0c |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 09 b2 00 0c 00 0a 00 03 |........|........|
|000012d0| 00 00 00 09 55 56 55 55 | 55 55 00 00 09 b5 00 0e |....UVUU|UU......|
|000012e0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 09 b6 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001300| 55 55 00 00 09 b9 00 0e | 00 0a 00 10 01 00 00 0c |UU......|........|
|00001310| 00 00 00 00 00 00 00 00 | 09 c4 00 0c 00 0a 00 03 |........|........|
|00001320| 00 00 00 09 55 56 55 55 | 55 55 00 00 09 cc 00 0e |....UVUU|UU......|
|00001330| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 0a 8b 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001350| 55 55 00 00 0a 8e 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00001360| 00 00 00 00 00 00 00 00 | 0a 8f 00 0c 00 0a 00 03 |........|........|
|00001370| 00 00 00 09 55 56 55 55 | 55 55 00 00 0a 94 00 0b |....UVUU|UU......|
|00001380| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 0c 00 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|000013a0| 55 55 00 00 0c 06 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|000013b0| 00 00 00 00 00 00 00 00 | 0c 08 00 0c 00 0a 00 03 |........|........|
|000013c0| 00 00 00 09 55 56 55 55 | 55 55 00 00 0c 0b 00 0e |....UVUU|UU......|
|000013d0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 0c 49 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.I......|....UVUU|
|000013f0| 55 55 00 00 0c 4c 00 0e | 00 0a 00 10 00 00 00 0c |UU...L..|........|
|00001400| 00 00 00 00 00 00 00 00 | 0c 4d 00 0c 00 0a 00 03 |........|.M......|
|00001410| 00 00 00 09 55 56 55 55 | 55 55 00 00 0c 52 00 0b |....UVUU|UU...R..|
|00001420| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 0c e6 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001440| 55 55 00 00 0c ec 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00001450| 00 00 00 00 00 00 00 00 | 0c ee 00 0c 00 0a 00 03 |........|........|
|00001460| 00 00 00 09 55 56 55 55 | 55 55 00 00 0c f5 00 0e |....UVUU|UU......|
|00001470| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 0c f6 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00001490| 55 55 00 00 0c fd 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 02 00 02 00 00 00 04 |........|........|
|000014b0| 00 00 0c fe 00 00 01 00 | 00 00 07 34 00 00 06 34 |........|...4...4|
|000014c0| 00 00 00 82 06 64 56 28 | 1f f4 00 00 00 1c 00 82 |.....dV(|........|
|000014d0| 00 04 73 74 79 6c 00 00 | 00 2a 73 6f 75 70 00 00 |..styl..|.*soup..|
|000014e0| 00 36 38 38 35 39 00 00 | 00 42 4d 6f 44 45 00 00 |.68859..|.BMoDE..|
|000014f0| 00 4e 53 69 5a 45 00 00 | 00 5a 00 80 ff ff 00 00 |.NSiZE..|.Z......|
|00001500| 00 08 06 82 e1 d4 00 80 | ff ff 00 00 00 00 06 81 |........|........|
|00001510| ce 00 00 80 ff ff 00 00 | 00 04 00 00 00 00 00 80 |........|........|
|00001520| ff ff 00 00 06 26 06 82 | e1 e8 00 80 ff ff 00 00 |.....&..|........|
|00001530| 06 2c 06 82 e1 dc 00 00 | 00 00 00 00 00 00 00 00 |.,......|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+